package cn.kgc.springcloud.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Tag {

  private long id;
  private String name;
  private String type;
  @JsonProperty("created_at")  //改变json数据中属性的名字
  private Date createDate;

}
